package org.crown.project.api.wechat;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 微信小程序配置
 * @author WuFengSheng on 2019/06/19.
 */
@Slf4j
@Data
@Component
@Configuration
@ConfigurationProperties(prefix = "wechat.mini")
public class WxProperties {

    private String appId;
    private String appSecret;
    private String domainName;
    private String qrcodeFilePath;

    /**
     * 客服消息
     */
    private String encodingAesKey;
    private String token;

}
